package com.igeek.base.ch0711.Dome2;

/**
 * @Description TODO
 * @Author chenmin
 * @Date 2024/7/11 15:54
 */
public class ClassMain {
    public static void main(String[] args) {

        GrandFather grandFather = new GrandFather("张三",55);
        grandFather.getGrandFather();

        Father father = new Father("李四",25,"软件工程师");
        father.getFather();

    }
}
